"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var simplify_1 = require("./simplify");
var types_1 = require("./types");
/**
 * 求表达式并集
 */
function union(expA, expB) {
    var unionExp = {
        operator: types_1.BoolOperation.OR,
        args: [expA, expB],
    };
    return simplify_1.simplify(unionExp);
}
exports.union = union;
